package mk.jug.academy.testing.factory;

import java.util.UUID;

import mk.jug.academy.model.Administrator;

/**
 * Factory for creating instances for test purposes.
 *
 * @author Ice.Penov
 */
public class AdministratorTestFactory {
	
	/** No instantiation. Static usage only. */
	private AdministratorTestFactory() {;}
	
	/** Creates a random {@link Administrator} instance, for testing purposes */	
	public static Administrator createAdministrator() {
		Administrator admin = new Administrator();
		admin.setEmail(UUID.randomUUID() + "@example.com");
		admin.setName("Admin");
		return admin;
	}

}